@import '../../styles/variables.scss';

.record-container {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 20rpx 36rpx;
  background: linear-gradient(180deg, $background-gradient-start 0%, $background-gradient-end 100%);
  
  .nav-placeholder {
    height: $nav-height;
  }
  
  .record-tabs {
    display: flex;
    justify-content: space-between;
    height: 140rpx;
    padding: 16rpx 0;
  }
  
  .record-tab {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 308rpx;
    height: $nav-height;
    padding: 0 26rpx;
    border-radius: $border-radius-large;
    background: $white;
    border: $border-width solid $border-color;
    
    &-text {
      font-size: 16px;
      font-weight: 400;
    }
    
    &-active {
      background: $primary-color;
      font-weight: 700;
    }
  }
  
  .record-content {
    display: flex;
    flex-direction: column;
    gap: 26rpx;
    margin-top: 30rpx;
  }
  
  .timing-content {
    margin-top: 30rpx;
  }
  
  .timing-types {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26rpx 16rpx;
  }
  
  .timing-type {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    
    &-indicator {
      width: 24rpx;
      height: 32rpx;
      border-radius: 144rpx;
      border: $border-width solid $border-color;
      
      &.timing-type-first {
        background: $timing-first-bg;
      }
      
      &.timing-type-second {
        background: $timing-second-bg;
      }
      
      &.timing-type-third {
        background: $timing-third-bg;
      }
      
      &.timing-type-forth {
        background: $timing-forth-bg;
      }
    }
    
    &-text {
      margin-left: 8rpx;
      font-size: 24rpx;
      font-weight: 400;
    }
  }
  
  .timing-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    gap: 26rpx;
    margin-top: 20rpx;
  }
}
.timing-add-button {
  position: fixed;
  right: 40rpx;
  bottom: 40rpx;
  width: 90rpx;
  height: 100rpx;
  z-index: 999;
  .timing-add-icon {
    width: 90rpx;
    height: 100rpx;
    transform: rotate(-15deg);
  }
}